<% if can_edit_ecase?(@ecase) %>
     <div class="content_left_nedited"><p class="sup_title" style="margin-top: 8px"><%= @ecase.country.name %> / <%= link_to @ecase.title, {:controller => "ecases" , :action=>"show",:id=>@ecase.id} %></p></div>
    <table onmouseover="show_btn('title')" onmouseout="hide_btn('title')" class="for_rbtn" ><tr><td class="for_rbtn" > 
        <p id="btn_title" >     
        <%= link_to_remote image_tag('left_edit.gif'), {:update => "event_header",:after => "insertWaitingImg('event_header')",
      :url => {:controller => "events", :action => "edit_title_and_date", :id => @event }} %></p></td><td style="width: 100%">
        <h1 class="title" ><%= @event.title %></h1>
        <div class="horizontal_line" ></div>
        <p class="date_info" ><%= @event.date_formatted%></p>
         </td></tr></table> 
<% else %>
    <div class="content_left_nedited">
    <%= render :partial => "/ecases/title" ,:locals => {:title => @event.title, :date => @event.date_formatted } %>
    </div>
<% end %>